package com.yuanfeng.goods.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuanfeng.commoms.util.ResponseResult;
import com.yuanfeng.goods.dto.ManageSpecValueDTO;
import com.yuanfeng.goods.dto.ManageSpecValueQueryDTO;
import com.yuanfeng.goods.entity.GoodsSpecValueEntity;

/**
 * @ClassName GoodsSpecValueService
 * @Description 商品规格值
 * @Author cf
 * @Date 2023/6/27 17:31
 * @Version 1.0
 */
public interface GoodsSpecValueService extends IService<GoodsSpecValueEntity> {

    /**
     * 更新店铺规格
     *
     * @param param
     * @return
     */
    ResponseResult updateBySpecId(ManageSpecValueDTO param);

    /**
     * 获取规格列表
     * @param param
     * @return
     */
    ResponseResult queryGoodsSpecByCatId(ManageSpecValueQueryDTO param);


    /**
     * 查询店铺规格
     *
     * @param param
     * @return
     */
    ResponseResult queryShopSpecs(ManageSpecValueQueryDTO param);

}
